export const menuConfig = [
  { 
    label: '属性设置', 
    value: 'attribute', 
    icon: "", 
    method: 'showAttribute'
  },
  { 
    label: '新建关系', 
    value: 'addRelation', 
    icon: "", 
    children: [
      { label: '出方向', value: 'createOutgoing', method: 'createOutgoing' },
      { label: '入方向', value: 'createIncoming', method: 'createIncoming' }
    ]
  },
  { 
    label: '树上高亮', 
    value: 'showModel', 
    icon: "", 
    children: [],
    method: 'showModelPostion',
  },
  { 
    label: '新增', 
    value: 'add', 
    icon: "", 
    children: [
      { label: '新建子级', value: 'child', level: 'child', disabled: false, method: 'addRequirement' },
      { label: '新建同级', value: 'same', level: 'same', disabled: false, method: 'addRequirement' },
      { label: '末尾新建', value: 'tail', level: 'tail', disabled: false, method: 'addRequirement' }
    ],
    method: '',
  },
  { 
    label: '删除', 
    value: 'del', 
    icon: "", 
    children: [],
    method: 'deleteRequirement',
  },
  { 
    label: '移出表', 
    value: 'remove', 
    icon: "", 
    children: [],
    method: 'removeFromTable',
  },
  { 
    label: '隐藏列', 
    value: 'hide', 
    icon: "", 
    children: [],
    method: 'hideColumn',
  }
];
